How do I allow the django user write access to the database?
Also, any idea why pip install --update django returns a no such option error?
You must be logged in to post. Please login or register an account.
If you clicked and dragged the sqlite database, this means it was created likely by the root user, so you will need to give read/write access to the sqlite file. Something like chown django:django db.sqlite3 should do the trick.
pip install --upgrade, not update.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.
Any idea why the name 'patterns' is not defined when I import that module with urls.py in the django_project/django_project folder?
It is a python2.7 error. I thought everything was going to run in py3. Any suggestion on the error or version of python I should be deploying django through?
Please correct me if I am wrong but the one click method offered by digital ocean is a django-python 2.7 version right? Thanks for the help!
-devtycoon 8 years ago
You must be logged in to post. Please login or register an account.